CRUDCache Repo
open class CRUDCacheRepo<ObjectType, IdType, InputValueType>(parentRepo: CRUDRepo<ObjectType, IdType, InputValueType>, kvCache: KVCache<IdType, ObjectType>, scope: CoroutineScope, idGetter: (ObjectType) -> IdType) : ReadCRUDCacheRepo<ObjectType, IdType> , StandardCRUDRepo<ObjectType, IdType, InputValueType> , WriteStandardCRUDRepo<ObjectType, IdType, InputValueType>
Content copied to clipboard
Functions
Link copied to clipboard
open suspend override fun create(values: List<InputValueType>): List<ObjectType>
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open suspend override fun getByPagination(pagination: Pagination): PaginationResult<ObjectType>
Content copied to clipboard
Link copied to clipboard
open suspend override fun update(values: List<UpdatedValuePair<IdType, InputValueType>>): List<ObjectType>
Content copied to clipboard
open suspend override fun update(id: IdType, value: InputValueType): ObjectType?
Content copied to clipboard